<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<style>
.formTable{text-align:left;}

</style>
<h1>内部账户资金划转</h1>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/inttransfer.js"></script>
<form id="form" action="${ctx}/inttransfer/doApply.do" method="POST" target="_blank" >
	<input type="hidden" name="verficationCode" value="${sessionScope.gopay_webtest_key}"/>
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
			<input type="text" id="version" name="version" value="2.0" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode }" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>企业ID:</td>
			<td>
				<input type="text" id="customerId" name="customerId" value="${config.merchantID }" size="50"/>
			</td>
			<td align=left>
				<font color=red>*</font>
				<span id="customerIdTip"></span>
			</td>
		</tr>
		
		<tr>
			<td align=right>订单号:</td>
			<td>
				<input type="text" id="merOrderNum" name="merOrderNum" value="" size="50" autoComplete="off"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>商户后台通知地址:</td>
			<td>
				<input type="text" id="merURL" name="merURL" value="${config.backgroundMerUrl }" style="width:450px;"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merURLTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>交易金额:</td>
			<td>
				<input type="text" id="tranAmt" name="tranAmt" value="${config.tranAmt }" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranAmtTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>转入账户:</td>
			<td>
				<input type="text" id="inAcct" name="inAcct" value="" size="50"/>
			</td>
			<td align=left>
				<font color=red>*</font>
				<span id="payAcctIdTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>转出账户:</td>
			<td>
				<input type="text" id="outAcct" name="outAcct" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="recvBankAcctNameTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>用户浏览器IP:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranIP" name="tranIP" value="${config.tranIP}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranIPTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>签名类型:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="signType" name="signType" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:MD5,2:SHA,3:API
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td align=right>交易时间:</td>
			<td><input type="text" id="tranDateTime" name="tranDateTime" value="${config.tranDateTime }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>交易备注:</td>
			<td><input type="text" id="description" name="description" value="内部账户资金划转测试" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="descriptionTip"></span>
			</td>
		</tr>
		<tr><td align=right>字符集:  </td><td><input type="text"  id="charset" name="charset" value="2" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1:GBK,2:UTF-8 (不填则当成1处理)</td></tr>
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" value="设置订单" id="defButton" name="defButton"/>&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
	</table>
</form>